//==============================================================================
//  Nxgreekfortwallsmall_anim.txt
//==============================================================================
Made by Nox for the Age of Wrath mod.
//==============================================================================
Import NXMyrspearmen_anim.txt
Import Hoplite_anim.txt
import spear_defines_anim.txt
import Greek_Large_Shield_anim.txt
//==============================================================================
//==============================================================================
define spear
{
   SetSelector
   {
      TechLogic none/Medium Infantry/Heavy Infantry/Champion Infantry
      set hotspot
      {
         version
         {
            Visual spear
         }
      }
      set hotspot
      {
         version
         {
            Visual spear
         }
      }
      set hotspot
      {
         version
         {
            Visual spear
         }
      }
      set hotspot
      {
         version
         {
            Visual spear
         }
      }
   }
}
//==============================================================================

//==============================================================================
define MyrHead
{
   SetSelector
   {
      TechLogic none/Medium Infantry/Heavy Infantry/Champion Infantry
      set hotspot
      {
         version
         {
            Visual NXMyrspearmenhead
         }
      }
      set hotspot
      {
         version
         {
            Visual NXMyrspearmenhead
         }
      }
      set hotspot
      {
         version
         {
            Visual NXMyrspearmenhead
         }
      }
      set hotspot
      {
         version
         {
            Visual NXMyrspearmenhead
         }
      }
   }
}
//==============================================================================
//==============================================================================
define hopHead
{
   SetSelector
   {
      TechLogic none/Medium Infantry/Heavy Infantry/Champion Infantry
      set hotspot
      {
         version
         {
            Visual Infantry G Hoplite Head Standard
         }
      }
      set hotspot
      {
         version
         {
            Visual Infantry G Hoplite Head Copper
         }
      }
      set hotspot
      {
         version
         {
            Visual Infantry G Hoplite Head Bronze
         }
      }
      set hotspot
      {
         version
         {
            Visual Infantry G Hoplite Head Iron
         }
      }
   }
}

//==============================================================================
//==============================================================================
define NXmyrmiddonshield
{
   SetSelector
   {
      TechLogic none/Medium Infantry/Heavy Infantry/Champion Infantry
      set hotspot
      {
         version 
         {
            Visual NXmyrmiddonshield
         }
      }
      set hotspot
      {
         version
         {
            Visual NXmyrmiddonshield
         }
      }
      set hotspot
      {
         version
         {
            Visual NXmyrmiddonshield
         }
      }
      set hotspot
      {
         version
         {
            Visual NXmyrmiddonshield
         }
      }
   }
}
//==============================================================================
define hoplite
{
	SetSelector
	{
		CinematicLogic
		SetSelector
		{
			TechLogic none/Medium Infantry/Heavy Infantry/Champion Infantry
			set hotspot
			{
				version
				{
					Visual Infantry G Hoplite_IdleA
					connect RightHand Spear hotspot
					connect LeftForearm LargeGreekShield hotspot
					Connect TopOfHead hopHead hotspot
				}
			}
		}	
	}
}

//==============================================================================
define myrmiddonspearmen
{
	SetSelector
	{
		CinematicLogic
		SetSelector
		{
			TechLogic none/Medium Infantry/Heavy Infantry/Champion Infantry
			set hotspot
			{
				version
				{
					Visual NXmyrspearmen_idleA
					connect RightHand Spear hotspot
					connect LeftForearm NXmyrmiddonshield hotspot
					Connect TopOfHead MyrHead hotspot
				}
			}
		}	
	}
}

//==============================================================================
anim none
{
	SetSelector none
	{
		VariationLogic
		set hotspot
		{
			version
			{
				Visual Nxgreekfortwallsmall
				connect attachpoint myrmiddonspearmen hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Nxattyfortwallsmall
			    connect rightforearm hoplite
                connect chin hoplite
			}
		}
	}	
}

//==============================================================================